Podlove\Model\Image B

Total Complexity 81
Dependencies 7
Dependents 15
Total lines 623
Lines of code 361
Logical lines of code 191
Comment lines 103
Methods 29
Properties 10

Methods 29

Method Rating Maintainability Complexity Lines of code
url()
A
43 12 46
download_source()
A
43 8 48
generate_resized_copy()
A
48 7 33
srcset()
S
49 6 32
image()
S
50 6 29
download_url()
S
51 5 26
flush_cache()
S
58 4 16
size_slug()
S
68 4 7
__construct()
S
59 2 13
save_cache_data()
S
61 2 12
move_as_original_file()
S
63 2 11
copy_as_original_file()
S
63 2 11
file_name()
S
71 2 6
setHeight()
S
70 2 7
setWidth()
S
70 2 7
create_basedir()
S
66 2 10
add_donotbackup_dotfile()
S
72 1 6
resized_url()
S
78 1 3
original_url()
S
78 1 3
delete_resized_versions()
S
74 1 4
redownload_source()
S
78 1 4
cache_file()
S
78 1 3
cache_dir()
S
79 1 3
resized_file()
S
78 1 3
original_file()
S
78 1 3
source_exists()
S
80 1 3
setRetina()
S
76 1 4
setCrop()
S
76 1 4
extract_file_extension()
S
74 1 4